Leviticus 19:20

Lying with a Slave Woman

19:20 “‘When a man has sexual intercourse with a woman, although she is a slave woman designated for another man and she has not yet been ransomed, or freedom has not been granted to her, there will be an obligation to pay compensation. They must not be put to death, because she was not free.

Deuteronomy 22:23-24

22:23 If a virgin is engaged to a man and another man meets her in the city and has sexual relations with her, 22:24 you must bring the two of them to the gate of that city and stone them to death, the young woman because she did not cry out though in the city and the man because he violated his neighbor’s fiancĂ©e; in this way you will purge evil from among you.